home *** CD-ROM | disk | FTP | other *** search
- Path: news.luc.edu!user
- From: VArase@varase.it.luc.edu (Verne Arase)
- Newsgroups: comp.lang.c
- Subject: Re: Borland C's tmpnam()
- Date: Fri, 22 Mar 1996 23:19:03 -0600
- Organization: LUMC
- Message-ID: <AD78E5E796681EC58@mcdialb10.it.luc.edu>
- References: <AD75E5DC9668E2A52@mcdiala13.it.luc.edu> <Pine.A32.3.91.960322134158.23347A-100000@red.weeg.uiowa.edu>
- NNTP-Posting-Host: 147.126.240.126
-
- In article <Pine.A32.3.91.960322134158.23347A-100000@red.weeg.uiowa.edu>,
- The Amorphous Mass <robinson@blue.weeg.uiowa.edu> wrote:
-
- >> The online documentation (all I have) says that it returns a file name
- >> "which can be safely used as the name of a temporary file".
- >>
- >> What does this mean?
- >
- > It means that it generates a filename that is guaranteed to be unique
- >-- ie it won't overwrite an existing file.
-
- Another EMail response I got suggests otherwise. The fact that they didn't
- provide a path parameter also suggests that they weren't terribly serious.
-
- The other response I mentioned said that (_my synopsis_) all it guaranteed
- was that the provided file name is compatible with your file system. If it
- did more I'd expect that to be documented and flagged as a Borland
- non-portable extension.
-
- It seems to be a good start for a serious tempname(), however :-).
-
- ---
- The above are my own opinions, and not those of my employer.
-